<template>
    <y-layout title="Slider">
        <div class="demo-small-pitch">

            <y-slider autoplay="3000">
                <y-slider-item>
                    <a href="http://www.ydcss.com">
                        <img src="http://static.ydcss.com/uploads/ydui/1.jpg">
                    </a>
                </y-slider-item>
                <y-slider-item>
                    <a href="http://www.ydcss.com">
                        <img src="http://static.ydcss.com/uploads/ydui/2.jpg">
                    </a>
                </y-slider-item>
                <y-slider-item>
                    <a href="http://www.ydcss.com">
                        <img src="http://static.ydcss.com/uploads/ydui/3.jpg">
                    </a>
                </y-slider-item>
            </y-slider>

        </div>
    </y-layout>
</template>
